package com.potato369.cryptNacos.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

@Data
@Component
@RefreshScope
public class BaiduAPIProps {

    @Value("${com.potato369.baidu-api.appId}")
    private String appId;

    @Value("${com.potato369.baidu-api.clientId}")
    private String ak;

    @Value("${com.potato369.baidu-api.clientSecret}")
    private String sk;
}
